package org.yly.game.rpggame.domain.model.goods;

import java.util.Date;

import org.yly.game.rpggame.domain.model.DomainEvent;

public class GoodsStateChangeEvent implements DomainEvent {
	
    private int eventVersion;
    private Date occurredOn;
	private int goodsState;
	private String goodsId;
	
	
	public GoodsStateChangeEvent(String goodsId, int goodsState) {
		this.goodsId = goodsId;
		this.goodsState = goodsState;
	}

	public int eventVersion() {
		return eventVersion;
	}

	public Date occurredOn() {
		return occurredOn;
	}

	public int getGoodsState() {
		return goodsState;
	}

	public String getGoodsId() {
		return goodsId;
	}

}
